﻿using FluentNHibernate.Mapping;
using IapService.Entity;

namespace IapService.Mappings
{
    public class VectorImageMap : ClassMap<VectorImage>
    {
        public VectorImageMap()
        {
            Not.LazyLoad();
            
            Id(x => x.Id);
            Map(x => x.VectorId);
            Map(x => x.Layer);
            References(x => x.Image, "imageId");
        }
    }
}